<br>
<br>
<br>
<div class="row">
    <div class="col-xs-12 col-md-12">
        <div class="grid simple">
            <div class="grid-body no-border">
                <form action="<?= DOMAIN.'member/add' ?>" method="POST"> 
                    <div class="row">
                        <div class="row form-row">
                            <div class="col-xs-4 col-md-4">
                                <label class="form-label">会员名 / 邮箱 *</label>
                                <input type="text" value="<?= $temp['username'] ?>" name="username" class="form-control" placeholder="必须为邮箱地址">
                            </div> 
                        </div>
                        <div class="row form-row">
                            <div class="col-xs-4 col-md-4">
                                <label class="form-label">昵称 *</label>
                                <input type="text" value="<?= $temp['nickname'] ?>" name="nickname" class="form-control" placeholder="最少1个字最多20个字">
                            </div> 
                        </div>
                        <div class="row form-row">
                            <div class="col-xs-4 col-md-4">
                                <label class="form-label">手机</label>
                                <input type="text" value="<?= $temp['mobile'] ?>" name="mobile" class="form-control" placeholder="必须为手机号码">
                            </div> 
                        </div>
                        <div class="row form-row">
                            <div class="col-xs-8 col-md-8">
                                <label class="form-label">性别</label>
                                <div class="radio">
                                    <? foreach($member_gender as $k => $v): ?>
                                        <? if($temp['gender'] == $k): ?>
                                            <input type="radio" checked="checked" value="<?= $k ?>" name="gender" id="<?= $k ?>">
                                        <? else: ?>
                                            <input type="radio" value="<?= $k ?>" name="gender" id="<?= $k ?>">
                                        <? endif ?>
                                        <label for="<?= $k ?>"><?= $v ?></label>
                                    <? endforeach ?>
                                </div> 
                            </div> 
                        </div>
                        <div class="row form-row">
                            <div class="col-xs-4 col-md-4">
                                <label class="form-label">密码 *</label>
                                <input type="password" value="<?= $temp['password'] ?>" name="password" class="form-control" placeholder="只能包含英文或数字, 6~20位">
                            </div> 
                        </div>

                        <div class="row form-row">
                            <div class="col-xs-4 col-md-4">
                                <label class="form-label">确认密码 *</label>
                                <input type="password" value="<?= $temp['confirm_password'] ?>" name="confirm_password" class="form-control" placeholder="请再次确认密码">
                            </div> 
                        </div>

                        <div class="row form-row">
                            <div class="col-xs-8 col-md-8">
                                <label class="form-label">备注</label>
                                <input type="text" value="<?= $temp['remark'] ?>" name="remark" class="form-control" placeholder="">
                            </div> 
                        </div>

                    </div>
                      
                    <div class="form-actions">  
                        <div class="pull-left">
                            <button class="btn btn-success btn-cons" type="submit">
                                <i class="icon-save"></i>&nbsp;保存</button>
                            </button>
                            <button class="btn btn-white btn-cons" type="button" onclick="$.T.reset_form(this)">
                                重置
                            </button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
    
</script>